<template>
    <div>
        <el-row>
            <el-col :span="24" class="base-mian-cell" v-if="abnormityFlag">
                <div class="base-mian-cell-title clearfix">
                    <div class="left fl">
                        <span class="line">|</span>
                        <span class="tips">异常告知一览</span>
                    </div>
                    <div class="right fr" @click="changeView">
                        <i class="el-icon-circle-close"></i>
                    </div>
                </div>
                <div class="base-mian-cell-main">
                    <el-table
                            :data="healths"
                            style="width: 100%">
                        <el-table-column prop="surname" label="告知对像" min-width="80" show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column prop="informno" label="代码"  min-width="80" show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column  prop="informdesc" label="说明" min-width="400" show-overflow-tooltip>
                        </el-table-column>
                        <el-table-column prop="notedesc" label="补充说明" min-width="150" show-overflow-tooltip>
                        </el-table-column>
                    </el-table>
                </div>
            </el-col>
        </el-row>
    </div>
</template>
<script>
  export default {
    data(){
      return{
        claimData: []
      }
    },
    props:{
      abnormityFlag: {
        type: Boolean,
        default: false
      } ,
      healths: {
        type: Array,
        default(){
          return [];
        }
      }
    },
    methods:{
      changeView(){
        this.$emit('subAbnormityFlag',false);
      }
    }
  }
</script>